package com.tangqiao;

public class StepBanner {
	private String [] stepLog = new String[2];
	private String [] board = new String[2];
	private static StepBanner stepBanner = new StepBanner();
	
	private StepBanner() {
		
	}
	public static StepBanner getInstance() {
		return stepBanner;
	}
	
	public String getBanString(String b) {
		return "";
//		System.out.println("b=" + b);
//		if (stepLog[0] == null || board[0] == null) return "";
//		else if (board[0].equals(b)) {
//			System.out.println("Ban : "+ "banmoves " + stepLog[0]);
//			return "banmoves " + stepLog[0]+"\r\n";
//		}
//		else 
//			return "";
	}
	
	public void log(String b, String s) {
		board[0] = board[1];
		board[1] = b;
		
		stepLog[0] = stepLog[1];
		stepLog[1] = s;
//		System.out.println("Log step: "+  b + "   " + s);
	}
}
